package de.java.hsrm.view;

import java.awt.*;

import javax.swing.JComponent;

@SuppressWarnings("serial")
public class CustomGlassPane extends JComponent {
	
	@Override protected void paintComponent(Graphics g){
		Rectangle clip = g.getClipBounds();
		Color alphaWhite = new Color(1.0f,1.0f,1.0f,0.65f);
		g.setColor(alphaWhite);
		g.fillRect(clip.x, clip.y, clip.width, clip.height);
	}

}
